'Declaration
Public Function New( _ ByVal severity As LogMessageSeverity, _ ByVal writeMode As LogWriteMode, _ ByVal logSystem As String, _ ByVal categoryName As String, _ ByVal skipFrames As Integer, _ ByVal message As String, _ ByVal ParamArray args() As Object _ )
public SimpleLogMessage( LogMessageSeverity severity, LogWriteMode writeMode, string logSystem, string categoryName, int skipFrames, string message, params object[] args )
Parameters
- severity
- The severity of the log message.
- writeMode
- Whether to queue-and-return or wait-for-commit.
- logSystem
- The name of the logging system the message was issued through, such as "Trace" or "Gibraltar".
- categoryName
- The logging category or application subsystem category that the log message is associated with, such as "Trace", "Console", "Exception", or the logger name in Log4Net.
- skipFrames
- The number of stack frames to skip over to find the first candidate to be identified as the source of the log message.
- message
- A message string with optional formatting, which may span multiple lines.
- args
- Optional additional args to match up with the formatting string.